package com.example.novelweb.model.dto.novel;

import com.example.novelweb.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;


import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = true)
public class NovelQueryRequest extends PageRequest implements Serializable {
  private static final long serialVersionUID = 1L;

//  private Long id;

  private String name;

  // User.nickname
  private String userName;

  // "tag1Id,tag2Id,tag3Id,..."
  private String tags;

  //TODO: search by isEnd
  private Integer isEnd;
}
